﻿<%@ Page Title="" Language="C#" AutoEventWireup="true" CodeBehind="BUS_Student_Temp.aspx.cs"
    Inherits="School.Pages.Bus.BUS_Student_Temp" MasterPageFile="~/MasterALSafa.Master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table dir="rtl" style="width: 100%; float: right">
        <tr>
            <td nowrap="nowrap">
                <asp:Panel ID="PanelAdd" runat="server">
                    <table align="right" width="100%">
                        <tr>
                            <td style="width: 60px">
                                &nbsp;
                            </td>
                            <td style="width: 325px">
                                <asp:ScriptManager ID="ScriptManager1" runat="server">
                                </asp:ScriptManager>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                    <ContentTemplate>
                                        <table align="right" dir="rtl" style="width: 100%; float: right">
                                            <tr>
                                                <td colspan="3" class="admintitle" align="center">
                                                    ادخال بيانات
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" style="width: 55px">
                                                    المجمع
                                                </td>
                                                <td style="width: 174px">
                                                    <asp:DropDownList ID="ddlCampus" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                        DataTextField="Name" DataValueField="Id" OnTextChanged="ddlCampus_TextChanged"
                                                        Width="150px">
                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="ddlCampus"
                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" style="width: 55px">
                                                    الشهاده
                                                </td>
                                                <td style="width: 174px">
                                                    <asp:DropDownList ID="ddlCertificate" runat="server" AppendDataBoundItems="True"
                                                        AutoPostBack="True" DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlCertificate_SelectedIndexChanged"
                                                        Width="150px" TabIndex="1">
                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="ddlCertificate"
                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" style="width: 55px">
                                                    المرحله
                                                </td>
                                                <td style="width: 174px">
                                                    <asp:DropDownList ID="ddlStadge" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                        DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlStadge_SelectedIndexChanged"
                                                        Width="150px" TabIndex="2">
                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="ddlStadge"
                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" style="width: 55px">
                                                    الصف
                                                </td>
                                                <td style="width: 174px">
                                                    <asp:DropDownList ID="ddlGrade" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                        DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlGrade_SelectedIndexChanged"
                                                        Width="150px" TabIndex="3">
                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlGrade"
                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" style="width: 55px">
                                                    الطالب
                                                </td>
                                                <td style="width: 174px">
                                                    <asp:DropDownList ID="ddlstudent" runat="server" AppendDataBoundItems="True" DataTextField="FullName"
                                                        DataValueField="Id" Width="150px" TabIndex="4">
                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                    </asp:DropDownList>
                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="ddlstudent"
                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td nowrap="nowrap" colspan="2">
                                                    إشتراك جزئ
                                                </td>
                                                <td nowrap="nowrap" style="width: 71px">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3" nowrap="nowrap">
                                                    <asp:RadioButtonList ID="rdblSubscription" runat="server" Height="25px" RepeatDirection="Horizontal"
                                                        TabIndex="11" Width="371px" AutoPostBack="True" OnSelectedIndexChanged="rdblSubscription_SelectedIndexChanged">
                                                        <asp:ListItem Value="0">ذهاب  فقط</asp:ListItem>
                                                        <asp:ListItem Value="1">عودة فقط</asp:ListItem>
                                                        <asp:ListItem Value="2">ترم واحد</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="3" nowrap="nowrap">
                                                    <asp:Panel ID="PlBus" runat="server">
                                                        <table dir="rtl" style="width: 100%; float: right">
                                                            <tr>
                                                                <td>
                                                                    <asp:Panel ID="PLGo" runat="server">
                                                                        <table dir="rtl" style="width: 100%; float: right">
                                                                            <tr>
                                                                                <td colspan="2">
                                                                                    إتجاة الذهاب
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 13px">
                                                                                    الباص
                                                                                </td>
                                                                                <td style="width: 233px">
                                                                                    <asp:DropDownList ID="ddlbus" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                                                        DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlbus_SelectedIndexChanged"
                                                                                        TabIndex="5" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ddlbus"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator12" runat="server" ControlToValidate="ddlbus"
                                                                                        Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" ValidationGroup="go" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 13px">
                                                                                    المنطقة
                                                                                </td>
                                                                                <td style="width: 233px">
                                                                                    <asp:DropDownList ID="ddlDistrict" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                                                        DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlDistrict_SelectedIndexChanged"
                                                                                        TabIndex="6" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="ddlDistrict"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator13" runat="server" ControlToValidate="ddlDistrict"
                                                                                        Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" ValidationGroup="go" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 13px">
                                                                                    المحطة
                                                                                </td>
                                                                                <td style="width: 233px">
                                                                                    <asp:DropDownList ID="ddlstation" runat="server" AppendDataBoundItems="True" DataTextField="Name"
                                                                                        DataValueField="Id" TabIndex="7" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="ddlstation"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator14" runat="server" ControlToValidate="ddlstation"
                                                                                        ErrorMessage="مطلوب" ForeColor="Red" ValidationGroup="go" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </asp:Panel>
                                                                </td>
                                                                <td>
                                                                    <asp:Panel ID="Plback" runat="server">
                                                                        <table dir="rtl" style="width: 100%; float: right">
                                                                            <tr>
                                                                                <td colspan="2">
                                                                                    إتجاة العودة &nbsp;
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 34px">
                                                                                    الباص
                                                                                </td>
                                                                                <td>
                                                                                    <asp:DropDownList ID="ddlbusback" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                                                                        DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlbusback_SelectedIndexChanged"
                                                                                        TabIndex="8" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="ddlbusback"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator15" runat="server" ControlToValidate="ddlbusback"
                                                                                        Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" 
                                                                                        ValidationGroup="ba" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 34px">
                                                                                    المنطقة
                                                                                </td>
                                                                                <td>
                                                                                    <asp:DropDownList ID="ddlDistrictback" runat="server" AppendDataBoundItems="True"
                                                                                        AutoPostBack="True" DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlDistrictback_SelectedIndexChanged"
                                                                                        TabIndex="9" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator10" runat="server" ControlToValidate="ddlDistrictback"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator16" runat="server" ControlToValidate="ddlDistrictback"
                                                                                        Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" 
                                                                                        ValidationGroup="ba" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                            <tr>
                                                                                <td style="width: 34px">
                                                                                    المحطة
                                                                                </td>
                                                                                <td>
                                                                                    <asp:DropDownList ID="ddlstationback" runat="server" AppendDataBoundItems="True"
                                                                                        DataTextField="Name" DataValueField="Id" TabIndex="10" Width="150px">
                                                                                        <asp:ListItem Value="0">اختيار</asp:ListItem>
                                                                                    </asp:DropDownList>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator11" runat="server" ControlToValidate="ddlstationback"
                                                                                        Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="temp">*</asp:RequiredFieldValidator>
                                                                                    <asp:RequiredFieldValidator ID="RequiredFieldValidator17" runat="server" ControlToValidate="ddlstationback"
                                                                                        Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" 
                                                                                        ValidationGroup="ba" InitialValue="0">*</asp:RequiredFieldValidator>
                                                                                </td>
                                                                            </tr>
                                                                        </table>
                                                                    </asp:Panel>
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </asp:Panel>
                                                </td>
                                            </tr>
                                        </table>
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                            </td>
                        </tr>
                        <tr>
                            <td nowrap="nowrap" style="width: 60px">
                                من
                            </td>
                            <td style="width: 325px">
                                <asp:TextBox ID="txtfrom" runat="server" Width="150px"></asp:TextBox>
                                <asp:CalendarExtender ID="txtfrom_CalendarExtender" runat="server" Enabled="True"
                                    Format="dd/MM/yyyy" TargetControlID="txtfrom">
                                </asp:CalendarExtender>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator18" runat="server" ControlToValidate="txtfrom"
                                    Display="Dynamic" ErrorMessage="مطلوب" ForeColor="Red" ValidationGroup="st">*</asp:RequiredFieldValidator>
                            </td>
                            <td style="width: 29px">
                                إلي
                            </td>
                            <td>
                                <asp:TextBox ID="txtTo" runat="server" Width="150px"></asp:TextBox>
                                <asp:CalendarExtender ID="txtTo_CalendarExtender" runat="server" Enabled="True" Format="dd/MM/yyyy"
                                    TargetControlID="txtTo">
                                </asp:CalendarExtender>
                                <asp:RequiredFieldValidator ID="RequiredFieldValidator19" runat="server" ControlToValidate="txtTo"
                                    ErrorMessage="مطلوب" ForeColor="Red" ValidationGroup="st">*</asp:RequiredFieldValidator>
                            </td>
                        </tr>
                        <tr>
                            <td nowrap="nowrap" style="width: 60px">
                                &nbsp;
                            </td>
                            <td style="width: 325px">
                                &nbsp;
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 60px; height: 23px;">
                                &nbsp;
                            </td>
                            <td style="height: 23px; width: 325px;">
                                <asp:Literal ID="lbltst" runat="server" Visible="False"></asp:Literal>
                            </td>
                        </tr>
                        <tr>
                            <td style="width: 60px; height: 23px;">
                                &nbsp;
                            </td>
                            <td style="height: 23px; width: 325px;">
                                <asp:Button ID="btnHost" runat="server" CssClass="graybutton" OnClick="btnHost_Click"
                                    Text="تسكين مؤقت" ValidationGroup="st" />
                            </td>
                        </tr>
                    </table>
                </asp:Panel>
            </td>
        </tr>
    </table>
</asp:Content>
